package capitulo2;

public class Computer {
	
	private String model;
	private int ram;
	
	public Computer(String model, int ram){
		setModel(model);
		setRam(ram);
	}
	
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public int getRam() {
		return ram;
	}
	public void setRam(int ram) {
		this.ram = ram;
	}
	
	public String showInfo(){
		return "Modelo: " + model + " RAM: " + ram;
	}

}
